import Vue from 'vue'
import utils from '@/utils/index.js';

const store = {
	namespaced: true,
	state: {
		// 小程序配置信息
		appConfig: null,
	},
	mutations: {
		// 缓存小程序配置信息
		saveAppConfig(state, payload) {
			Vue.set(state, 'appConfig', payload)
		},
	},
	actions: {}
}

export default store
